WeglotWP\Services\Generate_Switcher_Service_Weglot S

Total Complexity 30
Dependencies 4
Dependents 2
Total lines 185
Lines of code 105
Logical lines of code 69
Comment lines 56
Methods 7
Properties 2

Methods 7

Method Rating Maintainability Complexity Lines of code
render_switcher_editor_button()
A
42 12 50
add_responsive_style()
S
53 7 22
render_default_button()
S
63 4 9
generate_switcher_from_dom()
S
64 3 9
replace_div_id()
S
66 2 8
__construct()
S
76 1 4
check_weglot_menu()
S
79 1 3